/*    */ package constants;
/*    */ 
/*    */ public enum ServerMessageType {
/*  4 */   BM_NOTICE((short)0),
/*  5 */   BM_ALERT((short)1),
/*  6 */   BM_SPEAKERCHANNEL((short)2),
/*  7 */   BM_SPEAKERWORLD((short)3),
/*  8 */   BM_SLIDE((short)4),
/*  9 */   BM_EVENT((short)5),
/* 10 */   BM_NOTICEWITHOUTPREFIX((short)6),
/* 11 */   BM_UTILDLGEX((short)7),
/* 12 */   BM_ITEMSPEAKER((short)8),
/* 13 */   BM_SPEAKERBRIDGE((short)9),
/* 14 */   BM_ARTSPEAKERWORLD((short)10),
/* 15 */   BM_GACHAPONMSG((short)11),
/* 16 */   BM_BLOWWEATHER((short)12),
/* 17 */   BM_ANNOUNCED_QUEST_OPEN((short)13),
/* 18 */   BM_ANNOUNCED_QUEST_CLOSED((short)14),
/* 19 */   BM_MIRACLETIME((short)15),
/* 20 */   BM_EVENTMSG_WITH_CHANNEL((short)16),
/* 21 */   BM_LOTTERYITEMSPEAKER((short)17),
/* 22 */   BM_LOTTERYITEMSPEAKER_WORLD((short)18),
/* 23 */   BM_MONSTERLIFE_WORLDMSG((short)19),
/* 24 */   BM_NOTICEWINDOW((short)20),
/* 25 */   BM_PICKUP_ITEM_WORLD((short)21),
/* 26 */   BM_MAKINGSKILLMEISTERITEM((short)22),
/* 27 */   BM_SPEAKERWORLD_GUILDSKILL((short)23),
/* 28 */   BM_WEATHERMSG((short)24),
/* 29 */   HEART_TYPE((short)26),
/* 30 */   BONE_TYPE((short)27),
/* 31 */   GACHAPON_MEGAPHONE((short)34),
/* 32 */   CAKE_TYPE((short)40),
/* 33 */   PIE_TYPE((short)50);
/*    */   
/*    */   private final short code;
/*    */   
/*    */   ServerMessageType(short code) {
/* 38 */     this.code = code;
/*    */   }
/*    */   
/*    */   public static ServerMessageType getByCode(int code) {
/* 42 */     for (ServerMessageType type : values()) {
/* 43 */       if (type.code == code) {
/* 44 */         return type;
/*    */       }
/*    */     } 
/* 47 */     return BM_NOTICE;
/*    */   }
/*    */   
/*    */   public final short getCode() {
/* 51 */     return this.code;
/*    */   }
/*    */ }


/* Location:              C:\PGX\Server.jar!\constants\ServerMessageType.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */